<template>
	<view class="kinds">
		<uni-section color="black" title="客户" type="line"></uni-section>

		<view class="kinds_a">张某某</view>
		<image class="kinds_b" src="../../static/black_arrow.png"></image>

		<view class="content-text">图片</view>
		<view class="text_a1">
			<span>货品名称:{{ee.Goods_name}}</span><br>
			<span>货品编号:{{ee.Goods_number}}</span><br>
			<span>货品类别:{{ee.Goods_type}} </span><br>
			<view class="text_b1">出:{{ee.Goods_total}}</view>
		</view>
		<view class="text_c1">M码 红色 价格：{{ee.Goods_price}}</view>
		<view class="text_d2">共计:{{ee.Goods_totalprice}}</view>


		<view class="kinds_c">
			<uni-section color="black" title="出库信息" type="line"></uni-section>
			<view class="text_bb">出库办理人</view>
			<view class="text_cc">{{ee.Goods_handler}}</view>
			<view class="text_bb">出库时间</view>
			<view class="text_cc">{{ee.Goods_tim}}</view>
		</view>
		<view class="kinds_d">
			<uni-section color="black" title="备注" type="line"></uni-section>
			<view class="text_bb">这个单子今天必须完成</view>
		</view>
		<view @click="again_fn()" class="text_dd1">再次入库</view>





	</view>



</template>

<script>
	export default {
		components: {},
		data() {
			return {
			}
		},

		methods: {
			again_fn() {
				uni.navigateTo({
					url: '../stock/manage'
				})
			},
			think_fn() {
				uni.request({
					data: {
						xx: this.ee
					}, //仅为示例，并非真实接口地址。
					success: (res) => {
						console.log(res.data);
					}
				});
			},
		},
		onLoad: function(option) { //option为object类型，会序列化上个页面传递的参数
			console.log(option.id);
		//	this.ee = JSON.parse(option.id)
		 this.ee = JSON.parse(decodeURIComponent(option.id))
			console.log(this.ee);

		},
	}
</script>

<style>
	.content-text {
		width: 90px;
		height: 90px;
		background-color: orchid;
		margin-left: 15px;
		font-size: 20px;
		margin-top: 20px;
		color: #666;
	}

	.text_a1 {
		width: 190px;
		height: 90px;
		margin-left: 115px;
		margin-top: -90px;
		font-size: 18px;
		line-height: 30px;
	}

	.text_b1 {
		width: 65px;
		height: 20px;
		margin-left: 170px;
		margin-top: -55px;
		font-size: 16px;
		line-height: 20px;
		color: red;
	}

	.text_dd1 {
		width: 100px;
		height: 40px;
		background-color: #fccc04;
		text-align: center;
		line-height: 40px;
		margin-left: 240px;
		margin-top: 60px;
		font-size: 16px;
	}

	.kinds {
		width: 360px;
		height: 230px;
		background-color: white;
		border-radius: 5px;
		margin: 10px;
	}

	.kinds_c {
		width: 360px;
		height: 130px;
		background-color: white
	}

	.kinds_d {
		width: 360px;
		height: 130px;
		background-color: white;
	}

	.text_bb {
		margin: 5px;
		border-bottom: 2px dashed #f6f6f6;
		font-size: 15px;
		color: black;
		line-height: 30px;
	}

	.text_cc {
		width: 90px;
		height: 20px;
		margin-left: 260px;
		margin-top: -30px;
		font-size: 16px;
		line-height: 20px;
		text-align: right;
	}

	.kinds_a {
		width: 50px;
		height: 30px;
		margin-top: -40px;
		margin-left: 260px;
		font-size: 16px;
		line-height: 30px;
	}

	.kinds_b {
		width: 15px;
		height: 15px;
		display: flex;
		margin-top: -20px;
		margin-left: 330px;
		font-size: 18px;
	}

	.text_c1 {
		width: 310px;
		height: 35px;
		line-height: 35px;
		margin: 8px;
		display: flex;
		justify-content: space-around;
		border-bottom: 2px dashed #f6f6f6;
		font-size:16px;
		margin-left:40px;
	}

	.text_d2 {
		width: 130px;
		height: 30px;
		line-height: 30px;
		font-size: 18px;
		margin-left: 200px;
		color: red;
		
	}
</style>
